package com.jason.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "tcc-product-server")
public interface IProductService {

    @GetMapping("product/reduceNumberr")
    public int reduceNumberr(@RequestParam("id") Integer id, @RequestParam("number") Integer number);


}
